package com.ebring.shareEducation.dao;

import com.ebring.shareEducation.bean.User;
import com.ebring.shareEducation.bean.UserVIP;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserVIPMapper extends Mapper<UserVIP> {
    //查询会员状态
    UserVIP selectUserVip(String userId);

    //充值会员
    int chargeVIP(UserVIP userVIP);

    // 找老师
    List<User> selectTeacher(String skillsName);

    //会员升级
    int upLevelVIP(UserVIP userVIP);
}

